package com.xiaocikuai.smallchunks.mapper.Product;

import com.xiaocikuai.smallchunks.entity.Product.LinkCustom;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Select;

import java.util.List;
import java.util.Set;

/**
 * <p>
 * 外部链接获取 Mapper 接口
 * </p>
 *
 * @author author1
 * @since 2024-07-18
 */
@Mapper
public interface LinkCustomMapper extends BaseMapper<LinkCustom> {

    @Select("SELECT groups FROM link_custom")
    Set<Integer> getGroupId();

}
